// 蜂窝蜜造平台生成代码，如手工更改，请添加到 .beeignore 忽略生成

package com.fowo.api.entity;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fowo.api.common.annotaion.*;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

/**
 * TmpFinancialEventGroup
 */
@DS("ds24")
@Getter
@Setter
@TableName(value = "tmp_financial_event_group", autoResultMap = true)
@Schema(title = "亚马逊结算中心-交易汇总临时表")
public class TmpFinancialEventGroup implements Serializable {

  /**
   * 编号
   */
  @TableField(value = "`id`")
  @TableId(type = IdType.ASSIGN_ID)
  @Schema(title = "编号")
  private Long id;

  /**
   * 创建时间
   */
  @TableField(value = "`create_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "创建时间")
  private java.util.Date createTime;

  /**
   * 创建人
   */
  @TableField(value = "`create_user`")
  @Schema(title = "创建人")
  private Long createUser;

  /**
   * 更新时间
   */
  @TableField(value = "`last_update_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "更新时间")
  private java.util.Date lastUpdateTime;

  /**
   * 更新人
   */
  @TableField(value = "`last_update_user`")
  @Schema(title = "更新人")
  private Long lastUpdateUser;

  /**
   * 删除标记
   */
  @TableField(value = "`del_flag`")
  @TableLogic
  @Schema(title = "删除标记")
  private Boolean delFlag;

  /**
   * 财务组id
   */
  @TableField(value = "`financial_event_group_id`")
  @Schema(title = "财务组id")
  private String financialEventGroupId;

  /**
   * 结算状态
   */
  @TableField(value = "`processing_status`")
  @Schema(title = "结算状态")
  private String processingStatus;

  /**
   * 转账状态
   */
  @TableField(value = "`fund_transfer_status`")
  @Schema(title = "转账状态")
  private String fundTransferStatus;

  /**
   * 应收金额
   */
  @TableField(value = "`original_total`")
  @Schema(title = "应收金额")
  private java.math.BigDecimal originalTotal;

  /**
   * 转账金额
   */
  @TableField(value = "`converted_total`")
  @Schema(title = "转账金额")
  private java.math.BigDecimal convertedTotal;

  /**
   * 转账时间
   */
  @TableField(value = "`fund_transfer_date`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "转账时间")
  private java.util.Date fundTransferDate;

  /**
   * 追踪编号
   */
  @TableField(value = "`trace_id`")
  @Schema(title = "追踪编号")
  private String traceId;

  /**
   * 银行尾号
   */
  @TableField(value = "`account_tail`")
  @Schema(title = "银行尾号")
  private String accountTail;

  /**
   * 期初金额
   */
  @TableField(value = "`beginning_balance`")
  @Schema(title = "期初金额")
  private java.math.BigDecimal beginningBalance;

  /**
   * 结算开始时间
   */
  @TableField(value = "`financial_event_group_start`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "结算开始时间")
  private java.util.Date financialEventGroupStart;

  /**
   * 结算结束时间
   */
  @TableField(value = "`financial_event_group_end`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "结算结束时间")
  private java.util.Date financialEventGroupEnd;

  /**
   * 店铺id
   */
  @TableField(value = "`sid`")
  @Schema(title = "店铺id")
  private Long sid;

  /**
   * 币种
   */
  @TableField(value = "`currency_type`")
  @Schema(title = "币种")
  private String currencyType;

  /**
   * 国家
   */
  @TableField(value = "`station`")
  @Schema(title = "国家")
  private String station;

  /**
   * 结算编号
   */
  @TableField(value = "`financial_no`")
  @Schema(title = "结算编号")
  private String financialNo;

  /**
   * 店铺名称
   */
  @TableField(value = "`store_name`")
  @Schema(title = "店铺名称")
  private String storeName;

  /**
   * 国家
   */
  @TableField(value = "`country_code`")
  @Schema(title = "国家")
  private Long countryCode;

  /**
   * 亚马逊账号id
   */
  @TableField(value = "`seller_id`")
  @Schema(title = "亚马逊账号id")
  private String sellerId;

  /**
   * 应收币种
   */
  @TableField(value = "`original_total_currency_code`")
  @Schema(title = "应收币种")
  private String originalTotalCurrencyCode;

  /**
   * 转账币种
   */
  @TableField(value = "`converted_total_currency_code`")
  @Schema(title = "转账币种")
  private String convertedTotalCurrencyCode;

  /**
   * 转账日期-当地
   */
  @TableField(value = "`fund_transfer_date_locale`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "转账日期-当地")
  private java.util.Date fundTransferDateLocale;
}
